package com.lanchetech.dao;
import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.vo.ConsumptionRecordVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.ConsumptionRecord;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConsumptionRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConsumptionRecord record);

    int insertSelective(ConsumptionRecord record);

    ConsumptionRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConsumptionRecord record);

    int updateByPrimaryKey(ConsumptionRecord record);

    List<ConsumptionRecordVO> findAllPage(PageReq req);


}